PenMount 6000 Serial Driver for Windows CE.Net(4.2) Stylus Version 1.1
For CE.NET Developers: 

Please make sure your Win CE cursor can move around well with a serial mouse 
attached to the target com port(e.g. COM2) before connecting PM6000 device.

1. Copy touch.dll to the build directory, normally this would be the default build directory, Wince420\Public\TargetName\RelDir\X86_Release. Where TargetName is the name you have chosen for your target system in Microsoft Windows CE Platform Builder. 


2. Double click Platform.reg on to open the Platform.reg file. Search for 

; @CESYSGEN IF CE_MODULES_POINTER


3. Copy and paste the following lines before 
the line found in of your Platform.reg file: in step 2.

[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\TOUCH]
	"DriverName"="touch.dll"
	"MaxCalError"=dword:10
	"CalibrationData"="512,512 0,0 0,1023 1023,1023 1023,0"
	"Port"=dword:1
	"pmode"=dword:1
	"cax1"=dword:1240
	"cay1"=dword:2c50
	"cax2"=dword:dab0
	"cay2"=dword:e2a0

Note: ( You can change the both "port" to the ComPort number which is connected to PM6000. 
     "Port"=dword:1 means com1 in CEPC system, but that is com2 of the Standard PC.
     Com1 of the Standard PC is for debugging in CEPC)    
     Please refer to MS WinCE documents. )

Comment out as shown or delete the following 4 lines.

;IF BSP_NOTOUCH !
;[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\TOUCH]
;    "DriverName"="keybddr.dll"
;ENDIF BSP_NOTOUCH !


4. Edit the PROJECT.BIB in the Parameter View of MS WinCE Platform Builder 4.0.
   Add these lines in MODULES:
   
   	touch.dll    $(_FLATRELEASEDIR)\touch.dll       NK  SH
  

5. Build your Platform(use "Build Platform", not "Rebuild"), and boot it. Execute Calibration and DrawDemo to test PM6000.


6. If you want to keep the calibration data after WINCE reboot, please write "WINCE REGISTRY" to FLASH in your machine.


Copyright (c) By Dialogue Technology Corp. All rights reserved. 
05/01/2007

